﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyLibrary.API.Core
{
    public class Param<T>
    {
        private string name;
        private T value;

        public string Name
        {
            get { return name; }
        }

        public T Value
        {
            get { return value; }
        }

        private Param(string name, T value)
        {
            this.name = name;
            this.value = value;
        }

        public static Param<T> Create(string name, T value)
        {
            Param<T> param = new Param<T>(name, value);
            return param;
        }        
    }
}
